package com.crazyhat.crazyhat.dto;

import org.hibernate.validator.constraints.URL;

import com.crazyhat.crazyhat.attribute.ClubPositionEnum;

import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 社团成员简要信息传输对象
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ClubMemberDTO {
    
    private Integer clubId;

    @NotNull
    private Integer studentId;

    @URL
    private String avatarUrl;

    private String name;

    private ClubPositionEnum clubPosition;
}
